public class person {
   private String name;
   private   int age;
//被封装的内容
    public person(String name, int age) {
      this.name = name;
        this.age = age;
        System.out.println("带参数的");
    }
    public person(){
        System.out.println("不带参数的");

    }
    public void a(){
        System.out.println(this.name);
    }
    public  String GetName(){
        return this.name;
    }

    public void SetName(String name) {
        this.name = name;
    }
}
